package com.jxd.project.absence.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jxd.project.absence.dto.AbsenceDto;
import com.jxd.project.absence.dto.QueryFormDto;
import com.jxd.project.absence.model.Absence;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface IAbsenceDao extends BaseMapper<Absence> {
    List<AbsenceDto> listAbsence(QueryFormDto queryForm);

    int getMyToDo(@Param("userid") String userid);

    Map<String,String> getOneById(@Param("id") int id);

}
